﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<GIFT_SHOP_MVC.Models.SanPham>" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Detail</title>
</head>
<body>
    <h2>Detail</h2>
        
        <div style="float:left;width:300px;height:300px;padding: 4px;border: 1px solid #2e202a;margin-bottom: 10px;">
            <img src="<%=Model.Hinh %>" alt="" width="300px" height="300px"/>
        </div>

        <div style="margin-left:350px; font-size:large ">
           <p>Name product: <%=Model.TenSanPham %><br /></p>
           <p>Category: <%=Model.TheLoai.TenTheLoai %><br /></p>
           <p>Supplier: <%=Model.NhaCungCap.TenNhaCungCap %><br /></p>
           <p>Views : <%=Model.SoLuotXem%><br /></p>
           <p>Sales : <%=Model.SL_Ban%><br /></p>
           <p>Number Of Existing : <%=Model.SL_Ton%><br /></p>
           <p>Price : <%=Model.Gia%><br /></p>
           <p>Description: <%=Model.MoTa%></p>
           <p>Import Date: <%=Model.NgayNhap%></p>
           <p>
            <a href="../../Admin/EditProduct/<%=Model.MaSanPham %>">Detail</a>
           </p>
           <br />
        </div >
</body>
</html>

